package architect.springcloud.eureka.client.security.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 客户端配置
 *
 * @author guanxin
 * @date 2018/4/22 13:30
 */

@Data
@RefreshScope
@ConfigurationProperties(prefix = "client.info")
@Component
public class ClientConfig {

    private String host;

    private int port;

    private String name;

    private String sex;

    private int age;

    private String title;
}
